package com.gzlg.hospital.service;

import com.github.pagehelper.PageInfo;
import com.gzlg.hospital.pojo.User;
import com.gzlg.hospital.pojo.query.UserQuery;

import java.util.List;

public interface UserService {
    public List<User> listUser();
    public PageInfo<User> listUserByName(UserQuery userQuery);
    public boolean deleteUserById(Integer id);
    public User getUserById(Integer id);
    public boolean updateUser(User user);
    public boolean addUser(User user);
}
